package com.haiheng.voiceandbook;

public interface ExamPlanHomeEventListener {
    void onSuccess(String msg,String data);
}
class Test{
    void setMyListener(ExamPlanHomeEventListener listener){
    }
}
class Test2{
    public static void main(String[] args) {
        Test test  = new Test();
        test.setMyListener(new ExamPlanHomeEventListener() {
            @Override
            public void onSuccess(String msg, String data) {

            }
        });
    }

}

